home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / MacTech® Magazine / Volume 12 - 1996 / 12.04 Apr 96 / ThreadingAppleEvents.sit / ThreadingAppleEvents / Grant's CGI Code 1.0b13 / Interface / SplashScreen.c < prev    next >
MacBinary  |  1995-12-09  |  2.5 KB  |  [TEXT/CWIE]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
66% dexvert Compact Compressed (Unix) (archive/compact) ext Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, Sat Dec 9 11:46:55 1995, modified Sat Dec 9 11:46:55 1995, creator 'CWIE', type ASCII, 1892 bytes "SplashScreen.c" , at 0x7e4 410 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[CWIE]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0e 53 70 6c 61 73 68 | 53 63 72 65 65 6e 2e 63 |..Splash|Screen.c|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 43 57 49 | 45 00 00 00 00 00 00 00 |.TEXTCWI|E.......|
|00000050| 00 00 00 00 00 07 64 00 | 00 01 9a ac ef 6d ff ac |......d.|.....m..|
|00000060| ef 6d ff 00 00 04 00 00 | 00 00 00 00 00 00 00 00 |.m......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 9c 72 00 00 |........|.....r..|
|00000080| 2f 2a 2a 2a 2a 2a 0d 20 | 2a 0d 20 2a 09 53 70 6c |/*****. |*. *.Spl|
|00000090| 61 73 68 53 63 72 65 65 | 6e 2e 63 0d 20 2a 0d 20 |ashScree|n.c. *. |
|000000a0| 2a 09 49 66 20 79 6f 75 | 20 64 6f 6e 27 74 20 77 |*.If you| don't w|
|000000b0| 61 6e 74 20 61 20 73 70 | 6c 61 73 68 20 73 63 72 |ant a sp|lash scr|
|000000c0| 65 65 6e 20 66 6f 72 20 | 79 6f 75 72 20 43 47 49 |een for |your CGI|
|000000d0| 2c 20 72 65 6d 6f 76 65 | 20 74 68 69 73 20 66 69 |, remove| this fi|
|000000e0| 6c 65 20 61 6e 64 20 74 | 68 65 20 74 77 6f 0d 20 |le and t|he two. |
|000000f0| 2a 09 53 70 6c 61 73 68 | 53 63 72 65 65 6e 20 63 |*.Splash|Screen c|
|00000100| 61 6c 6c 73 20 6d 61 64 | 65 20 69 6e 20 74 68 65 |alls mad|e in the|
|00000110| 20 66 75 6e 63 74 69 6f | 6e 20 27 53 74 61 72 74 | functio|n 'Start|
|00000120| 75 70 41 70 70 6c 69 63 | 61 74 69 6f 6e 27 20 69 |upApplic|ation' i|
|00000130| 6e 20 22 53 74 61 72 74 | 75 70 2e 63 22 2e 0d 20 |n "Start|up.c".. |
|00000140| 2a 09 41 6c 73 6f 20 72 | 65 6d 6f 76 65 20 74 68 |*.Also r|emove th|
|00000150| 65 20 72 65 73 6f 75 72 | 63 65 73 3a 20 63 69 63 |e resour|ces: cic|
|00000160| 6e 20 23 31 32 38 2c 20 | 49 43 4f 4e 20 23 31 32 |n #128, |ICON #12|
|00000170| 38 2c 20 64 63 74 62 20 | 23 34 30 31 2c 20 44 49 |8, dctb |#401, DI|
|00000180| 54 4c 20 23 34 30 31 2c | 20 44 4c 4f 47 20 23 34 |TL #401,| DLOG #4|
|00000190| 30 31 0d 20 2a 0d 20 2a | 09 54 68 69 73 20 69 73 |01. *. *|.This is|
|000001a0| 20 61 20 73 75 70 70 6f | 72 74 20 66 69 6c 65 20 | a suppo|rt file |
|000001b0| 66 6f 72 20 22 47 72 61 | 6e 74 27 73 20 43 47 49 |for "Gra|nt's CGI|
|000001c0| 20 46 72 61 6d 65 77 6f | 72 6b 22 2e 0d 20 2a 09 | Framewo|rk".. *.|
|000001d0| 50 6c 65 61 73 65 20 73 | 65 65 20 74 68 65 20 6c |Please s|ee the l|
|000001e0| 69 63 65 6e 73 65 20 61 | 67 72 65 65 6d 65 6e 74 |icense a|greement|
|000001f0| 20 74 68 61 74 20 61 63 | 63 6f 6d 70 61 6e 69 65 | that ac|companie|
|00000200| 73 20 74 68 65 20 64 69 | 73 74 72 69 62 75 74 69 |s the di|stributi|
|00000210| 6f 6e 20 70 61 63 6b 61 | 67 65 0d 20 2a 09 66 6f |on packa|ge. *.fo|
|00000220| 72 20 6c 69 63 65 6e 73 | 69 6e 67 20 64 65 74 61 |r licens|ing deta|
|00000230| 69 6c 73 2e 0d 20 2a 0d | 20 2a 09 43 6f 70 79 72 |ils.. *.| *.Copyr|
|00000240| 69 67 68 74 20 a9 31 39 | 39 35 20 62 79 20 47 72 |ight .19|95 by Gr|
|00000250| 61 6e 74 20 4e 65 75 66 | 65 6c 64 0d 20 2a 09 67 |ant Neuf|eld. *.g|
|00000260| 72 61 6e 74 40 61 63 6d | 2e 63 6f 6d 0d 20 2a 09 |rant@acm|.com. *.|
|00000270| 68 74 74 70 3a 2f 2f 61 | 72 70 70 31 2e 63 61 72 |http://a|rpp1.car|
|00000280| 6c 65 74 6f 6e 2e 63 61 | 2f 67 72 61 6e 74 2f 0d |leton.ca|/grant/.|
|00000290| 20 2a 0d 20 2a 2a 2a 2a | 2a 2f 0d 0d 23 69 6e 63 | *. ****|*/..#inc|
|000002a0| 6c 75 64 65 20 22 4d 79 | 43 6f 6e 66 69 67 75 72 |lude "My|Configur|
|000002b0| 61 74 69 6f 6e 2e 68 22 | 0d 23 69 66 20 6b 43 6f |ation.h"|.#if kCo|
|000002c0| 6d 70 69 6c 65 57 69 74 | 68 46 6f 72 65 67 72 6f |mpileWit|hForegro|
|000002d0| 75 6e 64 20 26 26 20 6b | 43 6f 6d 70 69 6c 65 57 |und && k|CompileW|
|000002e0| 69 74 68 53 70 6c 61 73 | 68 53 63 72 65 65 6e 0d |ithSplas|hScreen.|
|000002f0| 0d 23 69 6e 63 6c 75 64 | 65 20 22 63 6f 6d 70 69 |.#includ|e "compi|
|00000300| 6c 65 72 5f 73 74 75 66 | 66 2e 68 22 0d 23 69 6e |ler_stuf|f.h".#in|
|00000310| 63 6c 75 64 65 20 22 67 | 6c 6f 62 61 6c 73 2e 68 |clude "g|lobals.h|
|00000320| 22 0d 0d 23 69 6e 63 6c | 75 64 65 20 22 44 65 62 |"..#incl|ude "Deb|
|00000330| 75 67 55 74 69 6c 2e 68 | 22 0d 0d 23 69 6e 63 6c |ugUtil.h|"..#incl|
|00000340| 75 64 65 20 22 53 70 6c | 61 73 68 53 63 72 65 65 |ude "Spl|ashScree|
|00000350| 6e 2e 68 22 0d 0d 0d 2f | 2a 2a 2a 20 20 4c 4f 43 |n.h".../|*** LOC|
|00000360| 41 4c 20 56 41 52 49 41 | 42 4c 45 53 20 2a 2a 2a |AL VARIA|BLES ***|
|00000370| 2f 0d 0d 73 74 61 74 69 | 63 09 44 69 61 6c 6f 67 |/..stati|c.Dialog|
|00000380| 50 74 72 09 76 53 70 6c | 61 73 68 53 63 72 65 65 |Ptr.vSpl|ashScree|
|00000390| 6e 44 6c 6f 67 3b 0d 73 | 74 61 74 69 63 09 47 72 |nDlog;.s|tatic.Gr|
|000003a0| 61 66 50 74 72 09 09 76 | 53 70 6c 61 73 68 53 63 |afPtr..v|SplashSc|
|000003b0| 72 65 65 6e 53 61 76 65 | 50 6f 72 74 3b 0d 0d 0d |reenSave|Port;...|
|000003c0| 2f 2a 2a 2a 20 20 4c 4f | 43 41 4c 20 43 4f 4e 53 |/*** LO|CAL CONS|
|000003d0| 54 41 4e 54 53 20 2a 2a | 2a 2f 0d 0d 23 64 65 66 |TANTS **|*/..#def|
|000003e0| 69 6e 65 20 6b 53 70 6c | 61 73 68 53 63 72 65 65 |ine kSpl|ashScree|
|000003f0| 6e 44 4c 4f 47 09 34 30 | 31 0d 0d 0d 2f 2a 2a 2a |nDLOG.40|1.../***|
|00000400| 20 20 46 55 4e 43 54 49 | 4f 4e 53 20 20 2a 2a 2a | FUNCTI|ONS ***|
|00000410| 2f 0d 0d 2f 2a 20 20 2a | 2f 0d 76 6f 69 64 0d 53 |/../* *|/.void.S|
|00000420| 70 6c 61 73 68 53 63 72 | 65 65 6e 43 72 65 61 74 |plashScr|eenCreat|
|00000430| 65 20 28 20 76 6f 69 64 | 20 29 0d 7b 0d 09 50 61 |e ( void| ).{..Pa|
|00000440| 72 61 6d 54 65 78 74 20 | 28 20 67 56 65 72 73 69 |ramText |( gVersi|
|00000450| 6f 6e 53 74 72 2c 20 6e | 69 6c 2c 20 6e 69 6c 2c |onStr, n|il, nil,|
|00000460| 20 6e 69 6c 20 29 3b 0d | 09 0d 09 2f 2a 20 67 65 | nil );.|.../* ge|
|00000470| 74 20 64 69 61 6c 6f 67 | 20 70 74 72 20 66 72 6f |t dialog| ptr fro|
|00000480| 6d 20 72 65 73 6f 75 72 | 63 65 20 66 69 6c 65 20 |m resour|ce file |
|00000490| 2a 2f 0d 09 76 53 70 6c | 61 73 68 53 63 72 65 65 |*/..vSpl|ashScree|
|000004a0| 6e 44 6c 6f 67 20 3d 20 | 47 65 74 4e 65 77 44 69 |nDlog = |GetNewDi|
|000004b0| 61 6c 6f 67 20 28 20 6b | 53 70 6c 61 73 68 53 63 |alog ( k|SplashSc|
|000004c0| 72 65 65 6e 44 4c 4f 47 | 2c 20 6e 69 6c 2c 20 28 |reenDLOG|, nil, (|
|000004d0| 57 69 6e 64 6f 77 50 74 | 72 29 2d 31 4c 20 29 3b |WindowPt|r)-1L );|
|000004e0| 0d 09 0d 09 69 66 20 28 | 20 76 53 70 6c 61 73 68 |....if (| vSplash|
|000004f0| 53 63 72 65 65 6e 44 6c | 6f 67 20 21 3d 20 6e 69 |ScreenDl|og != ni|
|00000500| 6c 20 29 0d 09 7b 0d 09 | 09 2f 2a 20 64 69 61 6c |l )..{..|./* dial|
|00000510| 6f 67 20 6c 6f 61 64 20 | 73 75 63 63 65 73 73 66 |og load |successf|
|00000520| 75 6c 20 2a 2f 0d 09 09 | 53 65 74 57 52 65 66 43 |ul */...|SetWRefC|
|00000530| 6f 6e 20 28 20 76 53 70 | 6c 61 73 68 53 63 72 65 |on ( vSp|lashScre|
|00000540| 65 6e 44 6c 6f 67 2c 20 | 28 6c 6f 6e 67 29 6b 53 |enDlog, |(long)kS|
|00000550| 70 6c 61 73 68 53 63 72 | 65 65 6e 44 4c 4f 47 20 |plashScr|eenDLOG |
|00000560| 29 3b 0d 09 09 0d 09 09 | 2f 2a 20 73 61 76 65 20 |);......|/* save |
|00000570| 74 68 65 20 63 75 72 72 | 65 6e 74 20 70 6f 72 74 |the curr|ent port|
|00000580| 2c 20 77 68 61 74 65 76 | 65 72 20 69 74 20 69 73 |, whatev|er it is|
|00000590| 20 2a 2f 0d 09 09 47 65 | 74 50 6f 72 74 20 28 20 | */...Ge|tPort ( |
|000005a0| 26 76 53 70 6c 61 73 68 | 53 63 72 65 65 6e 53 61 |&vSplash|ScreenSa|
|000005b0| 76 65 50 6f 72 74 20 29 | 3b 0d 09 09 0d 09 09 2f |vePort )|;....../|
|000005c0| 2a 20 6e 6f 77 20 6d 61 | 6b 65 20 69 74 20 76 69 |* now ma|ke it vi|
|000005d0| 73 69 62 6c 65 20 2a 2f | 0d 09 09 53 68 6f 77 57 |sible */|...ShowW|
|000005e0| 69 6e 64 6f 77 09 09 28 | 20 76 53 70 6c 61 73 68 |indow..(| vSplash|
|000005f0| 53 63 72 65 65 6e 44 6c | 6f 67 20 29 3b 0d 09 09 |ScreenDl|og );...|
|00000600| 53 65 6c 65 63 74 57 69 | 6e 64 6f 77 09 28 20 76 |SelectWi|ndow.( v|
|00000610| 53 70 6c 61 73 68 53 63 | 72 65 65 6e 44 6c 6f 67 |SplashSc|reenDlog|
|00000620| 20 29 3b 0d 09 09 44 72 | 61 77 44 69 61 6c 6f 67 | );...Dr|awDialog|
|00000630| 09 09 28 20 76 53 70 6c | 61 73 68 53 63 72 65 65 |..( vSpl|ashScree|
|00000640| 6e 44 6c 6f 67 20 29 3b | 0d 09 7d 0d 7d 20 2f 2a |nDlog );|..}.} /*|
|00000650| 20 53 70 6c 61 73 68 53 | 63 72 65 65 6e 43 72 65 | SplashS|creenCre|
|00000660| 61 74 65 20 2a 2f 0d 0d | 0d 2f 2a 20 20 2a 2f 0d |ate */..|./* */.|
|00000670| 76 6f 69 64 0d 53 70 6c | 61 73 68 53 63 72 65 65 |void.Spl|ashScree|
|00000680| 6e 44 69 73 70 6f 73 65 | 20 28 20 76 6f 69 64 20 |nDispose| ( void |
|00000690| 29 0d 7b 0d 09 69 66 20 | 28 20 76 53 70 6c 61 73 |).{..if |( vSplas|
|000006a0| 68 53 63 72 65 65 6e 44 | 6c 6f 67 20 21 3d 20 6e |hScreenD|log != n|
|000006b0| 69 6c 20 29 0d 09 7b 0d | 09 09 6d 79 5f 61 73 73 |il )..{.|..my_ass|
|000006c0| 65 72 74 20 28 20 76 53 | 70 6c 61 73 68 53 63 72 |ert ( vS|plashScr|
|000006d0| 65 65 6e 53 61 76 65 50 | 6f 72 74 20 21 3d 20 6e |eenSaveP|ort != n|
|000006e0| 69 6c 2c 20 22 5c 70 53 | 70 6c 61 73 68 53 63 72 |il, "\pS|plashScr|
|000006f0| 65 65 6e 44 69 73 70 6f | 73 65 3a 20 76 53 70 6c |eenDispo|se: vSpl|
|00000700| 61 73 68 53 63 72 65 65 | 6e 53 61 76 65 50 6f 72 |ashScree|nSavePor|
|00000710| 74 20 69 73 20 6e 69 6c | 22 20 29 3b 0d 09 09 0d |t is nil|" );....|
|00000720| 09 09 44 69 73 70 6f 73 | 65 44 69 61 6c 6f 67 09 |..Dispos|eDialog.|
|00000730| 28 20 76 53 70 6c 61 73 | 68 53 63 72 65 65 6e 44 |( vSplas|hScreenD|
|00000740| 6c 6f 67 20 29 3b 0d 09 | 09 53 65 74 50 6f 72 74 |log );..|.SetPort|
|00000750| 09 09 09 28 20 76 53 70 | 6c 61 73 68 53 63 72 65 |...( vSp|lashScre|
|00000760| 65 6e 53 61 76 65 50 6f | 72 74 20 29 3b 0d 09 7d |enSavePo|rt );..}|
|00000770| 0d 7d 20 2f 2a 20 53 70 | 6c 61 73 68 53 63 72 65 |.} /* Sp|lashScre|
|00000780| 65 6e 44 69 73 70 6f 73 | 65 20 2a 2f 0d 0d 0d 23 |enDispos|e */...#|
|00000790| 65 6e 64 69 66 09 2f 2a | 20 6b 43 6f 6d 70 69 6c |endif./*| kCompil|
|000007a0| 65 57 69 74 68 46 6f 72 | 65 67 72 6f 75 6e 64 20 |eWithFor|eground |
|000007b0| 26 26 20 6b 43 6f 6d 70 | 69 6c 65 57 69 74 68 53 |&& kComp|ileWithS|
|000007c0| 70 6c 61 73 68 53 63 72 | 65 65 6e 20 2a 2f 0d 0d |plashScr|een */..|
|000007d0| 2f 2a 2a 2a 2a 2a 20 20 | 45 4f 46 20 20 2a 2a 2a |/***** |EOF ***|
|000007e0| 2a 2a 2f 0d 00 00 00 00 | 00 00 00 00 00 00 00 00 |**/.....|........|
|000007f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000800| 00 00 01 00 00 00 01 54 | 00 00 00 54 00 00 00 46 |.......T|...T...F|
|00000810| 00 00 00 6f 0b 50 72 65 | 66 65 72 65 6e 63 65 73 |...o.Pre|ferences|
|00000820| 01 00 00 00 00 52 00 00 | 00 e1 a8 db 02 8f aa 1f |.....R..|........|
|00000830| 0e 53 70 6c 61 73 68 53 | 63 72 65 65 6e 2e 63 53 |.SplashS|creen.cS|
|00000840| 02 00 00 00 54 45 58 54 | 43 57 49 45 00 04 00 00 |....TEXT|CWIE....|
|00000850| 00 00 54 45 58 54 43 57 | 49 45 00 04 00 00 00 00 |..TEXTCW|IE......|
|00000860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000870| 00 00 aa 1f a4 60 00 00 | 00 00 00 00 01 9a 6d 65 |.....`..|......me|
|00000880| 6e 74 73 75 01 00 00 00 | 00 00 00 00 18 71 a9 85 |ntsu....|.....q..|
|00000890| 4e bc a9 85 4e bc 00 00 | 00 00 00 00 00 00 00 00 |N...N...|........|
|000008a0| 00 00 11 00 ff ff ff ff | 00 00 00 00 00 00 00 00 |........|........|
|000008b0| 00 00 00 00 00 00 00 00 | 00 6f 00 00 00 00 00 00 |........|.o......|
|000008c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008e0| 00 00 00 00 00 00 00 00 | 00 00 6c 5f 00 07 00 00 |........|..l_....|
|000008f0| 00 00 00 00 00 00 00 00 | 00 00 11 00 00 00 00 6f |........|.......o|
|00000900| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 00 00 00 |...H..Mo|naco....|
|00000910| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000920| 00 00 00 00 00 00 00 03 | 00 04 00 57 00 05 01 b4 |........|...W....|
|00000930| 02 19 00 57 00 05 01 b4 | 02 19 ac ef 27 5c 00 00 |...W....|....'\..|
|00000940| 00 00 00 00 00 00 00 00 | 00 00 01 00 00 00 00 04 |........|........|
|00000950| 00 01 00 01 00 00 01 00 | 00 00 01 54 00 00 00 54 |........|...T...T|
|00000960| 00 00 00 46 00 99 38 b8 | 21 6c 00 00 00 1c 00 46 |...F..8.|!l.....F|
|00000970| 00 01 4d 50 53 52 00 00 | 00 12 4d 57 42 42 00 00 |..MPSR..|..MWBB..|
|00000980| 00 1e 03 ed ff ff 00 00 | 00 00 00 99 37 d8 03 f0 |........|....7...|
|00000990| ff ff 00 00 00 4c 00 99 | 37 d0 00 00 00 00 00 00 |.....L..|7.......|
|000009a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+